package one.stand.mapper;

import one.stand.model.BusinessCard;
import one.stand.model.BusinessCardModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 */
public interface BusinessCardMapperExt extends BusinessCardMapper {

    int deleteBusinessCard(@Param("companyId") Integer companyId, @Param("isDel") Integer isDel);

    List<BusinessCard> selectByCompanyId(@Param("companyId") Integer companyId);


    List<BusinessCardModel> selectCustomerList(BusinessCardModel model);
    Integer selectCountCustomer(@Param("companyId") Integer companyId);
}